home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Views
/
ViewCell
/
CellCursorCollector.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
645b
|
38 lines
// CellCursorCollector.h
#ifndef CellCursorCollector_h
#define CellCursorCollector_h
#ifndef CellVisitor_h
#include "CellVisitor.h"
#endif
#ifndef Assert_h
#include "Assert.h"
#endif
class MouseEvent;
class RegionObject;
class CursorObject;
class CellCursorCollector: public CellVisitor
{
private:
const MouseEvent& event;
RegionObject& region;
const CursorObject *cursor;
public:
CellCursorCollector( const MouseEvent& theEvent,
RegionObject& theRegion );
virtual void Visit( ViewCell&, const Canvas& );
const CursorObject& Cursor() const
{
Assert( cursor != 0 );
return *cursor;
}
};
#endif